home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1993 July / InfoMagic USENET CD-ROM July 1993.ISO / sources / x / volume13 / xboard / patch2 < prev    next >
Encoding:
Internet Message Format  |  1991-07-05  |  4.7 KB

  1. Path: uunet!cs.utexas.edu!convex!texsun!cronkite!exodus!Pa.dec.com!dbs
  2. From: dbs@Pa.dec.com
  3. Newsgroups: comp.sources.x
  4. Subject: v13i074: xboard, Patch2, Part01/01
  5. Message-ID: <16337@exodus.Eng.Sun.COM>
  6. Date: 6 Jul 91 07:08:26 GMT
  7. References: <csx-13i074-xboard@uunet.UU.NET>
  8. Sender: news@exodus.Eng.Sun.COM
  9. Lines: 157
  10. Approved: argv@sun.com
  11.  
  12. Submitted-by: dbs@Pa.dec.com
  13. Posting-number: Volume 13, Issue 74
  14. Archive-name: xboard/patch2
  15. Patch-To: xboard: Volume 13, Issue 57-62
  16.  
  17. Here is another patch for xboard.  Hopefully, there won't be any more.
  18. There is also an up to date copy of the xboard sources in /contrib on
  19. export.lcs.mit.edu (18.30.0.238).
  20.  
  21. --Dan
  22.  
  23. diff -c rev6/README rev7/README
  24. *** rev6/README    Thu Jun 27 15:29:11 1991
  25. --- rev7/README    Thu Jun 27 15:07:28 1991
  26. ***************
  27. *** 255,257 ****
  28. --- 255,263 ----
  29.     - Can't do a backward move when it isn't your turn because gnuchess
  30.       gets confused.  Similar bug for forward move.  Do a bunch of moves,
  31.       back up move and go forward.  These get filtered out now.
  32. + Thu Jun 27 15:06:25 PDT 1991
  33. +   - Bug in my forward move fix.  Didn't work for playgamefile mode.
  34. +   - Remove comment popups during a reset.
  35. Common subdirectories: rev6/bitmaps and rev7/bitmaps
  36. diff -c rev6/xboard.c rev7/xboard.c
  37. *** rev6/xboard.c    Thu Jun 27 15:29:05 1991
  38. --- rev7/xboard.c    Thu Jun 27 15:02:58 1991
  39. ***************
  40. *** 2053,2062 ****
  41.       }
  42.   
  43.       if ((gameMode == EndOfGame) || (matchMode != MatchFalse)
  44. !         || ((currentMove == 0) && (forwardMostMove == 0))
  45. !         || (currentMove >= forwardMostMove))
  46.           return;
  47.   
  48.       if (gameMode != PauseGame) {
  49.           PauseProc();
  50.           if (readGameXID != NULL) {
  51. --- 2053,2064 ----
  52.       }
  53.   
  54.       if ((gameMode == EndOfGame) || (matchMode != MatchFalse)
  55. !         || ((currentMove == 0) && (forwardMostMove == 0)))
  56.           return;
  57.   
  58. +     if ((gameMode != PlayFromGameFile) && (currentMove >= forwardMostMove))
  59. +         return;
  60.       if (gameMode != PauseGame) {
  61.           PauseProc();
  62.           if (readGameXID != NULL) {
  63. ***************
  64. *** 2122,2127 ****
  65. --- 2124,2134 ----
  66.       InitChessProgram(appData.firstHost, appData.firstChessProgram,
  67.           &firstProgramPID, &toFirstProgFP, &fromFirstProgFP, &firstProgramXID);
  68.       DisplayClocks(ResetTimers);
  69. +     if (commentUp) {
  70. +         XtPopdown(commentShell);
  71. +         XtDestroyWidget(commentShell);
  72. +         commentUp = False;
  73. +     }
  74.   }
  75.   
  76.   int
  77.  
  78.  
  79. Sender: dbs@kodak (dan sears)
  80. From: dbs@kodak.enet.dec.com (dan sears)
  81. Path: kodak!dbs
  82. Newsgroups: rec.games.chess, gnu.chess
  83. Distribution: world
  84. From: dbs@pa.dec.com (Dan Sears)
  85. Reply-To: dbs@pa.dec.com (Dan Sears)
  86. Organization: Digital Equipment Corporation
  87. Subject: xboard 1.2, patch 2
  88. Keywords: chess, what else?
  89.  
  90. Here is another patch for xboard.  Hopefully, there won't be any more.
  91. This patch will be posted to comp.sources.x for archival purposes and
  92. there is also an up to date copy of the xboard sources in /contrib on
  93. export.lcs.mit.edu (18.30.0.238).
  94.  
  95. --Dan
  96.  
  97. diff -c rev6/README rev7/README
  98. *** rev6/README    Thu Jun 27 15:29:11 1991
  99. --- rev7/README    Thu Jun 27 15:07:28 1991
  100. ***************
  101. *** 255,257 ****
  102. --- 255,263 ----
  103.     - Can't do a backward move when it isn't your turn because gnuchess
  104.       gets confused.  Similar bug for forward move.  Do a bunch of moves,
  105.       back up move and go forward.  These get filtered out now.
  106. + Thu Jun 27 15:06:25 PDT 1991
  107. +   - Bug in my forward move fix.  Didn't work for playgamefile mode.
  108. +   - Remove comment popups during a reset.
  109. Common subdirectories: rev6/bitmaps and rev7/bitmaps
  110. diff -c rev6/xboard.c rev7/xboard.c
  111. *** rev6/xboard.c    Thu Jun 27 15:29:05 1991
  112. --- rev7/xboard.c    Thu Jun 27 15:02:58 1991
  113. ***************
  114. *** 2053,2062 ****
  115.       }
  116.   
  117.       if ((gameMode == EndOfGame) || (matchMode != MatchFalse)
  118. !         || ((currentMove == 0) && (forwardMostMove == 0))
  119. !         || (currentMove >= forwardMostMove))
  120.           return;
  121.   
  122.       if (gameMode != PauseGame) {
  123.           PauseProc();
  124.           if (readGameXID != NULL) {
  125. --- 2053,2064 ----
  126.       }
  127.   
  128.       if ((gameMode == EndOfGame) || (matchMode != MatchFalse)
  129. !         || ((currentMove == 0) && (forwardMostMove == 0)))
  130.           return;
  131.   
  132. +     if ((gameMode != PlayFromGameFile) && (currentMove >= forwardMostMove))
  133. +         return;
  134.       if (gameMode != PauseGame) {
  135.           PauseProc();
  136.           if (readGameXID != NULL) {
  137. ***************
  138. *** 2122,2127 ****
  139. --- 2124,2134 ----
  140.       InitChessProgram(appData.firstHost, appData.firstChessProgram,
  141.           &firstProgramPID, &toFirstProgFP, &fromFirstProgFP, &firstProgramXID);
  142.       DisplayClocks(ResetTimers);
  143. +     if (commentUp) {
  144. +         XtPopdown(commentShell);
  145. +         XtDestroyWidget(commentShell);
  146. +         commentUp = False;
  147. +     }
  148.   }
  149.   
  150.   int
  151.  
  152.  
  153.  
  154.  
  155.  
  156. --
  157. Dan Heller
  158. O'Reilly && Associates       Z-Code Software    Comp-sources-x:
  159. Senior Writer                President          comp-sources-x@uunet.uu.net
  160. argv@ora.com                 argv@zipcode.com
  161.